]> dgit.raspbian.org Git - gnome-shell.git/commit
messageTray: unset this._clickedSummaryItem if we are hiding the summary box pointer...
authorMarina Zhurakhinskaya <marinaz@redhat.com>
Fri, 23 Sep 2011 03:37:11 +0000 (23:37 -0400)
committerMarina Zhurakhinskaya <marinaz@redhat.com>
Mon, 26 Sep 2011 17:30:46 +0000 (13:30 -0400)
commit40c5db397d268fd285278a19f8145f626b28739b
treed2c3f8c76c25d42b67bdd5dc965edcf1e6485a34
parent8b52919b4d4785a0f76036fe741e687510fe72fe
messageTray: unset this._clickedSummaryItem if we are hiding the summary box pointer and don't have a new clicked summary item

This ensures that this._clickedSummaryItem is always unset correctly.

Because we disconnect the signals that have _adjustSummaryBoxPointerPosition()
as a callback when unsetting this._clickedSummaryItem, we no longer call
setPosition() on this._summaryBoxPointer after it is hidden. Calling
setPosition() shows the box pointer again, which previously resulted in
an empty box pointer staying behind when a notification associated with
a tray icon was clicked.

https://bugzilla.gnome.org/show_bug.cgi?id=659862
js/ui/messageTray.js